package com.feshfans.controller.special;

import com.feshfans.controller.Controller;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;

public class SettingsController extends Controller {

    @FXML
    private TextField domainTextField;
    @FXML
    private TextField xmppServer;
    @FXML
    private TextField xmppServerPort;
    @FXML
    private GridPane gridPaneControl;

    @FXML
    protected void confirmAction(ActionEvent event){

        Stage window = (Stage) gridPaneControl.getScene().getWindow();
        if(window!=null){
            System.out.println("aaa");
            window.close();
        }

    }
}
